home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
catn
/
concat.n
< prev
next >
Wrap
Text File
|
1994-09-20
|
952b
|
67 lines
concat(n) Tcl Built-In Commands
_________________________________________________________________
NAME
concat - Join lists together
SYNOPSIS
concat ?_a_r_g _a_r_g ...? |
_________________________________________________________________
DESCRIPTION
This command treats each argument as a list and concatenates
them into a single list. It also eliminates leading and
trailing spaces in the _a_r_g's and adds a single separator
space between _a_r_g's. It permits any number of arguments.
For example, the command
concat a b {c d e} {f {g h}}
will return
a b c d e f {g h}
as its result.
If no _a_r_gs are supplied, the result is an empty string. |
KEYWORDS
concatenate, join, lists
Tcl 1